package com.cbank.domain;

import java.util.UUID;

public class ModuleShowDetail extends BaseEntity {

    public static final Integer CONTENTTYPE_WZ=1;//文章
    public static final Integer CONTENTTYPE_LJ=2;//链接

    private String viewId;
    private Integer moduleShowId;
    private String url;//文章广告位图片链接
    private String cnTitle;//中文标题
    private String enTitle;//英文标题
    private String cnSubTitle;//中文副标题
    private String enSubTitle;//英文副标题
    private String cnArticle;//中文文章
    private String enArticle;//英文文章
    private String linkUrl;//链接地址
    private Integer type;
    private String bannerUrl;//轮播图
    private String articleTime;//文章时间
    private String enArticleTime;//英文文章时间
    private String cnLabel;//中文标签
    private String enLabel;//英文标签

    public ModuleShowDetail() {
        this.viewId= UUID.randomUUID().toString().replaceAll("\\p{Punct}", "");
        this.moduleShowId=0;
        this.url="";
        this.cnTitle="";
        this.enTitle="";
        this.cnSubTitle="";
        this.enSubTitle="";
        this.cnArticle="";
        this.enArticle="";
        this.linkUrl="";
        this.type=0;
        this.bannerUrl="";
        this.status=BaseEntity.STATUS_VALID;
        this.articleTime="";
        this.enArticleTime="";
        this.cnLabel="";
        this.enLabel="";
    }

    public String getViewId() {
        return viewId;
    }

    public void setViewId(String viewId) {
        this.viewId = viewId;
    }

    public Integer getModuleShowId() {
        return moduleShowId;
    }

    public void setModuleShowId(Integer moduleShowId) {
        this.moduleShowId = moduleShowId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCnTitle() {
        return cnTitle;
    }

    public void setCnTitle(String cnTitle) {
        this.cnTitle = cnTitle;
    }

    public String getEnTitle() {
        return enTitle;
    }

    public void setEnTitle(String enTitle) {
        this.enTitle = enTitle;
    }

    public String getCnSubTitle() {
        return cnSubTitle;
    }

    public void setCnSubTitle(String cnSubTitle) {
        this.cnSubTitle = cnSubTitle;
    }

    public String getEnSubTitle() {
        return enSubTitle;
    }

    public void setEnSubTitle(String enSubTitle) {
        this.enSubTitle = enSubTitle;
    }

    public String getCnArticle() {
        return cnArticle;
    }

    public void setCnArticle(String cnArticle) {
        this.cnArticle = cnArticle;
    }

    public String getEnArticle() {
        return enArticle;
    }

    public void setEnArticle(String enArticle) {
        this.enArticle = enArticle;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public String getArticleTime() {
        return articleTime;
    }

    public void setArticleTime(String articleTime) {
        this.articleTime = articleTime;
    }

    public String getCnLabel() {
        return cnLabel;
    }

    public void setCnLabel(String cnLabel) {
        this.cnLabel = cnLabel;
    }

    public String getEnLabel() {
        return enLabel;
    }

    public void setEnLabel(String enLabel) {
        this.enLabel = enLabel;
    }

    public String getEnArticleTime() {
        return enArticleTime;
    }

    public void setEnArticleTime(String enArticleTime) {
        this.enArticleTime = enArticleTime;
    }
}
